package com.example.splash.http;


import android.content.Context;
import android.net.ConnectivityManager;

public class InternetisAvaliable {
	public static Boolean isAvalible;
	


	public Boolean InternetisAvalible(Context context){
		ConnectivityManager cm=(ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
		if(cm!=null){
			isAvalible=cm.getActiveNetworkInfo().isAvailable();
		}
		return isAvalible;
		
	}

}
